[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_MASERATI CARSELECT_MANUFACTURER_MASERATI "GhibliParts\CARSELECT_MANUFACTURER_MASERATI.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_GHIBLI SECONDARY_LOGO_GHIBLI "GhibliParts\SECONDARY_LOGO_GHIBLI.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "GhibliParts\TuningIcons"

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC


if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions GHIBLI
do
remove_collection GLOBAL\GLOBALB.LZC Collisions GHIBLI
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos SL500 GHIBLI
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI ManufacturerName MASERATI
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI DefaultBasePaint GHIBLI_PAINT_YELLOW
copy_collection GLOBAL\GLOBALB.LZC Collisions SL500 GHIBLI
import override GLOBAL\GLOBALB.LZC DBModelParts GhibliParts\GHIBLI.bin

if directory_exists absolute CARS\GHIBLI
do
else
create_folder absolute CARS\GHIBLI
end

move_file override relative absolute GhibliParts\GHIBLI.ini scripts\UnlimiterData\GHIBLI.ini

move_file override relative absolute Main\GEOMETRY.BIN CARS\GHIBLI\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\GHIBLI\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\GHIBLI\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\GHIBLI\VINYLS.BIN

end

combobox "White" "Red" "Blue" "Yellow" "Choose your stock color."

"White"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI DefaultBasePaint GHIBLI_PAINT_WHITE

"Red"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI DefaultBasePaint GHIBLI_PAINT_RED

"Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI DefaultBasePaint GHIBLI_PAINT_BLUE

"Yellow"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos GHIBLI DefaultBasePaint GHIBLI_PAINT_YELLOW

end
